<!DOCTYPE html>
<!--OVERALL TEMPLATE-->
<html>
	<head>
		<title><?php if( isset( $title ) ) echo $title; ?></title>
		<link rel="shortcut icon" href="/images/favicon.ico" />
		<script src="/js/jquery-1.3.2.min.js"></script>
		<script src="/js/datePicker.js"></script>
		<script>
			$(document).ready( function() {
				$.datePicker.setDateFormat('ymd','-')
				$('.datepicking').datePicker();
			} )	;

		</script>
		<link rel="stylesheet" type="text/css" href="/css/styles.css" />
		<!--[if IE 6]>
			<link rel="stylesheet" type="text/css" href="/css/ie6.css" />
			<script src="/js/DD_belatedPNG_0.0.8a-min.js"></script>
			<script>
			  DD_belatedPNG.fix('.png, #usernav, #usernav ul, #usernav ul li a');
			</script>
		<![endif]--> 
		<script>
			
		</script>
<?php if( isset( $style ) ) : ?>
		<style>
<?php echo $style ?>
		</style>
<?php endif ?>
	</head>
	<body>
		<div id="container">
			<div id="header_container">
				<div id="header">
					<div id="logo">
						<a href="/"><img src="/images/logo.png" class="png" /></a>
					</div>
<?php if( isset($globalnav) ) : ?>
					<div id="globalnav">
<?php echo $globalnav ; ?>					
					</div>
<?php endif; ?>
				</div>
			</div>
			<div id="main_container">
<?php if( isset($usernav) ) : ?>
				<div id="usernav">
<?php echo $usernav ; ?>					
				</div>
<?php endif; ?>			
				<div id="main">
					<h1><?php if( isset( $heading ) ) View::show( $heading ); ?></h1>
					<?php if( isset( $content ) ) View::show( $content ); ?>
				</div>
			</div>
			
		</div>
		<div id="footer_container">
				<div id="footer">
				<!--
					<ul>
						<li><a href="/member/membersIndex">Home</a></li>
						<li><a href="/aboutus">About Us</a></li>
						<li><a href="/features">Features</a></li>
						<li><a href="/faq">FAQ</a></li>
					</ul>
				-->
					<span id="copyinfo">Copyright &copy; FEELS 2011</span>
			</div>
		</div>
	</body>
</html>